﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace JieBooLaw.WebSite
{
    using JieBooLaw.Service;
    using JieBooLaw.Domain;
    using JieBooLaw.Common.Web.Util;
    public partial class ShowNews : System.Web.UI.Page
    {
        public TInfoRelease_Info entity;
        protected void Page_Load(object sender, EventArgs e)
        {
            if(!this.IsPostBack)
            {
                BindGrid();
            }
        }
        public void BindGrid()
        {
             TInfoRelease_InfoSvc svc = new TInfoRelease_InfoSvc();
             entity=new TInfoRelease_Info();
             entity.InfoID=Convert.ToInt32(Request.QueryString["id"]);
             entity = svc.GetByKey(entity);
           
        }
    }
}
